import java.awt.Point;
import java.awt.image.BufferedImage;


public abstract class Diagram {
	
	private Point location;
	private BufferedImage imageDiagram;
	private String name;
	
	
	
	public Diagram() {
		super();
	}
	
	public Diagram(Point location, BufferedImage diagram) {
		super();
		this.location = location;
		this.imageDiagram = diagram;
	}
	
	public Diagram(Point location, BufferedImage diagram, String name) {
		super();
		this.location = location;
		this.imageDiagram = diagram;
		this.name = name;
	}
	
	public Point getLocation() {
		return location;
	}
	public void setLocation(Point location) {
		this.location = location;
	}
	public BufferedImage getDiagram() {
		return imageDiagram;
	}
	public void setDiagram(BufferedImage diagram) {
		this.imageDiagram = diagram;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "Diagram [location=" + location + ", diagram=" + imageDiagram
				+ ", name=" + name + "]";
	}
	
	
	
	
}
